
public abstract class User implements IUser {
	//name instance variable indicates the user name
	private String name;
	//book instance variable indicates the number of books borrowed by the user
	private int book;
	public User(String name, int book) {
		this.name = name;
		this.book = book;
	}
	public String getName() {
		return name;
	}
	public int getBook() {
		return book;
	}
	//changes the number of books borrowed by the user
	protected void setBook(int number) {
		this.book = number;
	}
	//increase the number of books borrowed or lent by the user (depending on what kind of user it is) by the number 
	public abstract void moreBook(int number) throws NotALenderException;
	
	public static void testUser() {
		
	}
}
